<?php

class ViewController extends \Phalcon\Mvc\Controller
{

    public function indexAction()
    {
    	$this->view->setMainView('index');
		$this->view->setVar('page_name', 'View');
		$this->view->setVar('content', 'view/index');
		$this->view->setVar('title', 'Messages');
    }

	public function notifAction()
	{
		$this->view->setVar('content', 'view/notif');	
	}

	public function messageAction()
	{
		$this->view->setVar('content', 'view/message');	
	}

	public function requestsAction()
	{
		$this->view->setVar('content', 'view/requests');	
	}

	public function settingsAction()
	{
		$this->view->setVar('content', 'view/settings');	
	}
}

